package com.ftg.learn.code.servcie;

import com.ftg.learn.common.dto.LoginByPhoneDto;
import com.ftg.learn.common.result.Result;

public interface CodeService {

    boolean validateCode(LoginByPhoneDto loginByPhoneDto);

    Result<String> getCode(String phone);
}
